<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
       <style>
    /* 未连接时 */
      /* a:link{
          color:greenyellow;
      } */
    /*鼠标移入时  (这个用的最多) */
      /* a:hover{
          color: hotpink;
      } */
      /* 点击时 */
      /* a:active{
         color: lightskyblue;
      } */
      /* 访问过的 */
      /* a:visited{
          color:orange;
      } */

      .likeButton{
          text-decoration: none;
          border:1px #ccc solid;
          border-radius: 10px;
          width: 200px;
          height: 50px;
          display: block;
          text-align: center;
          line-height: 50px;
          background-color: cornflowerblue;
          opacity: 0.8;
          color: #fff;
      }

      .likeButton:hover{

        opacity: 1;
      }

    </style>
</head>
<body>
    
    <a href="#">css修饰超链接</a>
       
   <hr>

   <button>按钮</button>

     <hr>

     <a href="#" class='likeButton'>我是一个按钮</a>

</body>
</html>